<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<link rel="stylesheet" href="__PUBLIC__/Home/Css/common.css" />
	<script type="text/javascript" src='__PUBLIC__/Home/Js/jquery-1.7.2.min.js'></script>
	<script type="text/javascript" src='__PUBLIC__/Home/Js/top-bar.js'></script>
	<script src="__PUBLIC__/Home/Js/ask.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var APP="__APP__";
		var on=false;
		var gold=0;
		on=<if condition='isset($_SESSION["username"]) && isset($_SESSION["uid"])'>true<else />false</if>;
		gold=<if condition='isset($_SESSION["username"]) && isset($_SESSION["uid"])'>{$gold}<else />0</if>;
	</script>
	<link rel="stylesheet" href="__PUBLIC__/Home/Css/ask.css" />
</head>
<body>
	<!-- top -->
	<include file='Common:header' />
	<!-- top -->
	<div id='location'>
		<a href="">360问答</a>&nbsp;>&nbsp;提问
	</div>

<!--------------------中部-------------------->
	<div id='center'>
		<div class='send'>
			<div class='title'>
				<p class='left'>向亿万网友们提问</p>
				<p class='right'>您还可以输入<span id='num'>50</span>个字</p>
			</div>
			<form action="{:U('Ask/ask')}" method='post'>
				<div class='cons'>
					<textarea name="content"></textarea>
				</div>
				<div class='reward'>
					<span id='sel-cate' class='cate-btn'>选择分类</span>
					<ul>
						<li>
							我的金币：<span>{$gold}</span>
						</li>
						<li>
					  悬赏：<select name="reward">
								<option value="0">0</option>
								<option value="5">5</option>
								<option value="10">10</option>
								<option value="15">15</option>
								<option value="20">20</option>
								<option value="30">30</option>
								<option value="50">50</option>
								<option value="80">80</option>
								<option value="100">100</option>
							</select>金币
						</li>
					</ul>
				</div>
				<input type='hidden' name='cid' value='0'/>
				<input type="submit" value='提交问题' class='send-btn'/>
			</form>
		</div>
	</div>
	<div id='category'>
		<p class='title'>
			<span>请选择分类</span>
			<a href="" class='close-window'></a>
		</p>
		<div class='sel'>
			<p>为您的问题选择一个合适的分类：</p>
			<select name="cate-one" size='16'>
				<volist name='cate' id='vo'>
					<option value="{$vo.cid}">{$vo.cname}</option>
				</volist>
			</select>
			<select name="cate-one" size='16' class='hidden'></select>
			<select name="cate-one" size='16' class='hidden'></select>
		</div>
		<p class='bottom'>
			<span id='ok'>确定</span>
		</p>
	</div>
<!--------------------中部结束-------------------->
	
<!-- 底部 -->
	<include file='Common:footer' />
<!--[if IE 6]>
    <script type="text/javascript" src="__PUBLIC____/Home/Js/iepng.js"></script>
    <script type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    </script>
<![endif]-->
</body>
</html>
<!-- 底部结束 -->